package com.mark.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * Created by Choisaaaa on 2018/6/27.
 * 微信账号相关配置
 */
@Data
@Component
@ConfigurationProperties(prefix = "wechat")
public class WechatAccountConfig {

    private String mpAppId;//公众平台id

    private String mpAppSecret;//公众平台密钥

    private String openAppId;//开放平台id

    private String openAppSecret;//开放平台密钥

    private String mchId;//商户号

    private String mchKey;//商户密钥

    private String keyPath;//商户证书路径

    private String notifyUrl;//微信支付异步通知地址

    private Map<String, String> templateId;//微信模版id
}
